package com.example.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "config-client")
public interface HelloServiceHi {

    @GetMapping(value = "/feignHello")
    Person hello();

    @GetMapping(value = "/feignHello")
    String helloStr();
}